// 引入mockjs模块
import Mock  from 'mockjs'

//把json数据格式引入进来
//webpack 默认对外暴漏:图片\json数据格式格式
import banner from './banner.json'
import floor from './floor.json'


// mock 数据:参数1(请求地址)参数2(请求数据)
Mock.mock("/mock/banner",{code:200,data:banner})//模拟首页大的轮播图的数据
Mock.mock("/mock/floor",{code:200,data:floor})

